define(['util'], function (Util) {
    function ViewModel(params) {
        $.extend(this,{css:[],img:'',color:'',imgSize:'auto'});//the grid need this to data bind
        $.extend(this, params);

        this._css = Util.generateBindCss(this.css);
        this._imgAttr = {
            src:this.img,
            height:this.imgSize
        };
    }

    return ViewModel;
});
